package com.burns.rbac.commons.exception;

import com.burns.rbac.enums.UserTokenExceptionEnum;
import lombok.Data;

/**
 * token过期异常
 */
@Data
public class UserTokenExpiredExcption extends BusinessException {
    public UserTokenExpiredExcption(String code, String msg) {
        super(code, msg);
    }
    public UserTokenExpiredExcption(UserTokenExceptionEnum utee) {
        super(utee.getCode(), utee.getMsg());
    }
}
